package org.baicaixiaozhan.tenet.script;

import java.util.Optional;

/**
 * DESC: 命令行脚本执行器
 *
 * @author baicaixiaozhan
 * @since 1.0.0
 */
public interface CommandScriptExecutor {

    /**
     * 执行脚本命令
     *
     * @param command
     * @param args
     * @return
     */
    default Optional<Object> execute(String command, String... args) { return Optional.empty(); }

}
